package hxg;

import java.util.HashMap;
import java.util.Map;

/**
 * @author HeXiangGuang
 * @create 2020-11-05 22:20
 */
public class test {
    public static void main(String[] args) {
        String shuju = "";
        Map<String, String> hashMap = new HashMap<>();
        hashMap.put("1","one");
        hashMap.put("2","two");
        hashMap.put("3","three");
        hashMap.put("4","four");
        hashMap.put("5","five");
        hashMap.put("6","six");
        shuju = hashMap.get("3");
        System.out.println("----------"+shuju);
        int day = 2;
        String date[] = {"oneteen_day","twoteen_day","threeteen_day"};
        String date2 = "a";
        if ("a".equals(date)) {
            date2 = "中文呀1";
        }
        for (int i = 0; i <date.length ; i++) {
            if (day ==i+1){
                System.out.println(date[i+1]);
            }
        }
    }

}
